package com.study.samsung.Service;

import com.study.samsung.Dao.CommodityimgDao;
import com.study.samsung.Entity.Commodityimg;

import java.util.List;

public class CommodityimgService {
    CommodityimgDao cd = new CommodityimgDao();
    public List<Commodityimg> selectAll(){
        return cd.selectAll();
    }

    public List<Commodityimg> selectByid(Integer sid){
        return cd.selectByid(sid);
    }

    public Integer updateurl(Integer tid,String url){
        return cd.updateurl(tid,url);
    }
}
